/**
 * @description  : demo 示例
 * @descriptionDetail : 示例
 * @copyright    : 浙江烟草
 * @author       : mc
 * @create       : 2022-12-05 16:15:51
 */
<template>
  <view style="width:100%;height:100%;">
    <pdf :file-url="fileUrl"></pdf>
  </view>
</template>
<script>
import pdf from '@/pdf/pdf.vue';

const urlPath = "http://10.100.9.8:10888/group1/M00/00/00/CmQJCGAxzZmAFrlQAAA1F1jMCdk941.pdf";
export default {
  components: { pdf, },
  data() {
    return {
      fileUrl: urlPath,
    };
  },
};
</script>
<style lang="scss" scoped>
iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
}
</style>